package com.hwd.gmall.common.enums;

/**
 * 秒杀商品的审核状态枚举类
 *
 * @author 黄伟东/Victor
 * @date 2022/05/11 23:03
 */
public enum SeckillGoodsStatusEnum {

    /** 秒杀商品的审核状态 */
    ZERO(0, "未审核"),
    ONE(1, "审核通过"),
    TWE(2, "审核不通过"),
    ;

    private final Integer status;

    private final String msg;

    SeckillGoodsStatusEnum(Integer status, String msg) {
        this.status = status;
        this.msg = msg;
    }

    @Override
    public String toString() {
        return this.msg;
    }

    public Integer getStatus() {
        return status;
    }

    public String getMsg() {
        return msg;
    }
}
